//
//  SegmentedView.h
//  BTRIP
//
//  Created by Rain on 15/11/12.
//  Copyright © 2015年 johnbk. All rights reserved.
//

#import "BaseView.h"

@protocol SegmentedViewDelegate <NSObject>

- (void)buttonOfSegmentedViewClicked:(UIButton *)sender;

@end

@interface SegmentedView : BaseView

// 按钮标题数组
@property (nonatomic, retain) NSArray *btnTitleArr;

// 按钮标题颜色
@property (nonatomic, retain) UIColor *titleTintColor;

// 滑动条颜色
@property (nonatomic, retain) UIColor *slideTintColor;

@property (nonatomic, assign) NSInteger buttonTag;

- (instancetype)initWithFrame:(CGRect)frame btnTitleArr:(NSArray *)btnTitleArr;


@property (nonatomic, assign) id<SegmentedViewDelegate>delegate;



@end
